package per.hx.bs.exception;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import per.hx.bs.base.domain.ReturnDTO;
import per.hx.bs.enums.HttpCodeEnum;

/**
 * @author HuXing
 * @date 2018/1/29  19:47
 * <p>
 * Describe:    公共 业务 异常类
 */
public class BsException extends RuntimeException {


    private int code;
    private String msg;
    private ReturnDTO returnDTO;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ReturnDTO getReturnDTO() {
        return returnDTO;
    }

    public void setReturnDTO(ReturnDTO returnDTO) {
        this.returnDTO = returnDTO;
    }
}